import request from '@/utils/request'

//根据项目编号获取测绘机构信息
export function queryProjectConstructingPlanInfo(data) {
    return request({
      url: '/pc/project/constructing_plan_result/query_project_constructing_plan_info',
      method: 'POST',
      formData: data
    })
}

//根据项目编号获取测绘机构信息
export function queryProjectConstructingPlanResult(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit_opinion/query_project_constructing_plan_result',
    method: 'POST',
    formData: data
  })
}

//综合监理信息
export function supervisingInfo(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit_opinion/supervising_info',
    method: 'POST',
    formData: data
  })
}

//综合监理信息
export function queryLandResultAuditInfo(data) {
  return request({
    url: '/pc/land/constructing_plan_result_first_audit/query_land_Info',
    method: 'POST',
    data
  })
}

//查询附件信息
export function queryProjectResultAuditInfo(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit/query_enclosure_info',
    method: 'POST',
    formData: data
  })
}

//审查项目规划设计与实施方案编制成果(附件)
export function auditProjectResultAttachmentInfo(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit/audit_project_result',
    method: 'POST',
    data
  })
}

//查询意见类型
export function getOpinionType() {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit/query_opinion_type',
    method: 'POST',
  })
}

//审查片块规划设计与实施方案编制成果(工程布局图)
export function auditLandEngineeringMap(data) {
  return request({
    url: '/pc/land/constructing_plan_result_first_audit/audit_land_engineering_map',
    method: 'POST',
    data
  })
}

//审查片块规划设计与实施方案编制成果(规划图)
export function auditLandPlanningMap(data) {
  return request({
    url: '/pc/land/constructing_plan_result_first_audit/audit_land_planning_map',
    method: 'POST',
    data
  })
}
//审查片块规划设计与实施方案编制成果(单体图)
export function onePlanningMap(data) {
  return request({
    url: '/pc/land/constructing_plan_result_first_audit/one_planning_map',
    method: 'POST',
    data
  })
}

//保存项目规划设计测绘成果
export function saveData(data) {
  return request({
    url: '/pc/project/constructing_plan_result/save',
    method: 'POST',
    data
  })
}


//保存项目规划设计与实施方案编制成果审定意见(区县局)
export function saveDistrictBureauOpinion(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit_opinion/save_district_bureau_opinion',
    method: 'POST',
    data
  })
}
//保存项目规划设计与实施方案编制成果审定意见(区县中心)
export function saveDistrictCenterOpinion(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit_opinion/save_district_center_opinion',
    method: 'POST',
    data
  })
}

//查询归档资料(规划设计与实施方案意见表)
export function queryFilingData(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit_opinion/query_filing_data',
    method: 'POST',
    formData: data
  })
}

//重新保存项目规划设计测绘成果
export function saveAgain(data) {
  return request({
    url: '/pc/project/constructing_plan_result/saveAgain',
    method: 'POST',
    formData: data
  })
}

//查询项目规划设计与实施方案编制成果审定意见(区县中心)
// export function queryQuxianCenterOpinion(data) {
//   return request({
//     url: '/pc/project/constructing_plan_result_first_audit_opinion/query_district_center_opinion',
//     method: 'POST',
//     formData: data
//   })
// }
//查询项目规划设计与实施方案编制成果审定意见
export function getAuditOpinion(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit_opinion/get_audit_opinion',
    method: 'POST',
    formData: data
  })
}

//校验审查意见
export function exportReviewOpinion(data) {
  return request({
    url: '/pc/project/constructing_plan_result_first_audit/verification_review_opinion',
    method: 'POST',
    formData: data
  })
}
//查询规划与实施方案编制上传结果片块信息回显
export function echoLandInfo(data) {
  return request({
      url: '/pc/project/constructing_plan_result/query_project_constructing_plan_result_land_reenter',
      method: 'POST',
      formData: data
  })
}
//查询规划与实施方案编制上传结果片块信息回显
export function echoFileInfo(data) {
  return request({
      url: '/pc/project/constructing_plan_result/query_project_constructing_plan_result_file_reenter',
      method: 'POST',
      formData: data
  })
}

//查询片块规划工程布局图初审信息(详情)
export function queryLandEngineeringMap(data) {
  return request({
      url: '/pc/land/constructing_plan_result_first_audit/query_land_engineering_map',
      method: 'POST',
      formData: data
  })
}
//查询片块规划规划图初审信息(详情)
export function queryLandPlanningMap(data) {
  return request({
      url: '/pc/land/constructing_plan_result_first_audit/query_land_planning_map',
      method: 'POST',
      formData: data
  })
}


//审查片块外业信息
export function ghAuditLandOuterInfo(data) {
  return request({
      url: '/pc/land/constructing_plan_result_first_audit/audit_land_outer_info',
      method: 'POST',
      data
  })
}